Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glib async methods return list for single result #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mpnordland
Copy link

fixes #108
The async method calls on the glib.ProxyInterface class lacked the
ability to unpack a single result while the sync version did do that.
This commit moves unpacking code to the async version so both will
behave correctly.

fixes altdesktop#108
The async method calls on the glib.ProxyInterface class lacked the
ability to unpack a single result while the sync version did do that.
This commit moves unpacking code to the async version so both will
behave correctly.
@mpnordland
Copy link
Author

While I feel the current test suite is sufficient to show there are not regressions from this change, I think it would be helpful to add tests that specifically check the asynchronous calls so that changes aren't made to just the synchronous calls that should apply to both. I attempted to write such tests, but I ran into a segfault with GLib that I am too tired/ignorant to know how to solve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

glib.ProxyInterface async method calls do not properly return single results
1 participant